package com.tianxiao.faas.biz.domain.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.List;

public class SearchEntity implements Serializable {
    private static final long serialVersionUID = 2752564125570023586L;

    @JSONField(name = "shops")
    List<Shop> shops;


    public class Shop {
        private Long id;
        @JSONField(name = "shop_name")
        private String shopName;
        @JSONField(name = "shop_introduce")
        private String shopIntroduce;

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getShopName() {
            return shopName;
        }

        public void setShopName(String shopName) {
            this.shopName = shopName;
        }

        public String getShopIntroduce() {
            return shopIntroduce;
        }

        public void setShopIntroduce(String shopIntroduce) {
            this.shopIntroduce = shopIntroduce;
        }
    }


    public List<Shop> getShops() {
        return shops;
    }

    public void setShops(List<Shop> shops) {
        this.shops = shops;
    }
}
